package com.kikt.rxjavaandretrofit

import com.kikt.rxjavaandretrofit.bean.DayBean
import com.kikt.rxjavaandretrofit.bean.DataBean
import com.kikt.rxjavaandretrofit.bean.Response
import io.reactivex.Observable

/**
 * Created by cai on 2017/7/21.
 */
interface MainModel : IModel {
    fun getRandom(): Observable<DataBean>
    fun getDay(year: Int, month: Int, day: Int): Observable<DayBean>
    fun getCategory(category: String, count: Int, page: Int): Observable<Response>

}